package com.example.com.skills_utf8;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.LinearLayout;

import com.app.BaseActivity;
import com.app.video.MyVideoCameraPreview;


public class _62ActivitySearchQrcode extends BaseActivity {


    LinearLayout layout_content;
    MyVideoCameraPreview camerapreview = new MyVideoCameraPreview();

    @Override
    public View InitLayout() {

        View view = camerapreview.init(activity);

        return view;
    }

    @Override
    public void InitView() {
        //layout_content = (LinearLayout)findViewById(R.id.layout_content);

    }

    @Override
    public void InitListener() {

    }

    @Override
    public void InitProcess() {


    }

    @Override
    protected void onResume() {
        super.onResume();

        camerapreview.start();
    }

    @Override
    protected void onPause() {
        super.onStop();

        camerapreview.close();
    }


}
